package com.kafka.sync1;

/**
 * @author xq
 * @Description: 配置文件属性
 * @date 2020/6/119:00
 */
public enum Config {

    KRB5_CONF("krb5Conf"),
    JAAS_CONF("jaasConf"),

    KAFKA_BROKE_URL("kafka.brokeUrl"),
    KAFKA_TOPIC("kafka.topic"),
    KAFKA_CONSUMER_GROUP("kafka.consumerGroup"),

    SOURCE_KEY("source.key"),

    TARGET_TABLE("target.table"),
    TARGET_JDBC_URL("target.jdbc.url"),
    TARGET_JDBC_USERNAME("target.jdbc.username"),
    TARGET_JDBC_PASSWORD("target.jdbc.password"),

    DB_MAX_RETRY_COUNT("db.max.retryCount"),
    DB_MAX_FALI_COUNT("db.max.failCount");

    private String pName;

    Config(String pName){
        this.pName = pName;
    }

    public String value(){
        return pName;
    }

}
